Alma: a Generic Program Animation System

نویسندگان

  • Maria João Varanda Pereira
  • Pedro Rangel Henriques
چکیده

In this paper, a system for program animation is presented. Alma system receives as input a computer program and produces a sequence of visualizations that will describe its functionality. The system generates automatically program animations basing this process on the internal representation of those programs. We do not rely upon any source program annotations (visual/animation statements, or parameters), neither on any special visual data types. The back-end of this system works over an execution tree (DAST), implementing the animation algorithm. This algorithm uses two bases of rules: visualizing rules (to associate graphical representation with program elements creating a visual description of the program state) and rewriting rules (to change the program state). We describe, in this paper, the Alma architecture and discuss the main algorithms that define the front-end and back-end. We also discuss the extensibility of the system in the sense of adding or modifying inputs and outputs, analyzing the characteristics of Alma’s architecture that make this possible. We can extend the system at different levels: at the input level, it is possible to adapt the system to a different language, modifying the front-end; at the output level, it is possible to change the animation detail, modifying the sampling frequency; also at the output level, it is possible to produce different pictures, modifying the visualizing rules; at a global level, it is possible to modify the input paradigm, changing the front-end and the back-end (rules and nodes).

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Visualization/animation of programs in Alma: obtaining different results

Alma, a system for program animation, receives as input a computer program and produces a sequence of visualizations that will describe its functionality. The system generates automatically program animations basing this process on the internal representation of those programs. The backend of this system works over an execution tree (DAST Decorated Abstract Syntax Tree), implementing the animat...

متن کامل

Code Inspection Approaches for Program Visualization

The aim of this paper is to show the approaches involved in the implementation of two tools of PCVIA project that can be used for Program Comprehension. Both tools use known compiler techniques to inspect code in order to visualize and understand programs’ execution but one of them modifies the source code and the other not. In the non-invasive approach, we convert the source program into an in...

متن کامل

The Study of Education Based on Animation in Patient’s Performance under Hemodialysis in Emergency Evacuation Selected Hospitals of Aja

Introduction: A disaster evacuation program is one of the most important parts of hospital crisis management. The following study was carried out to determine the effects of animation-based teaching on hemodialysis patients’ performance in an emergency evacuation. Material and Method: In this quasi-experimental study, two out of four AJA Hospitals in Tehran that had hemodialysis wards, were sel...

متن کامل

The Design of a Generic Signing Avatar Animation System

The Design of a Generic Signing Avatar Animation System J. Fourie Department of Mathematical Sciences (Computer Science) University of Stellenbosch Private Bag X1, 7602 Matieland, South Africa Thesis: MScEng (AM) November 2006 We designed a generic avatar animator for use in sign language related projects. The animator is capable of animating any given avatar that is compliant with the H-Anim s...

متن کامل

Developing EFL Learners' Oral Proficiency through Animation-based Instruction of English Formulaic Sequences

The current pretest-posttest quasi-experimental study attempts, firstly, to probe the effects of teaching formulaic sequences (FSs) on the second or foreign language (L2)  learners' oral proficiency improvement and secondly, to examine whether teaching FSs through different resources (i.e. animation vs. text-based readings) have any differentially influential effects in augmenting L2  l...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003